const app = require('express')();
const proxy = require('http-proxy-middleware');

app.use('/api',proxy({
    target:'https://api.banchengyun.com/admin',
    pathRewrite:{
        [/admin/]:''
    }
}))